﻿using Autofac;
using Autofac.Core.Registration;
using Nasty.Core.Registry;

namespace NastyService
{
	public static class AutofacModule
	{
		public static List<IModuleRegister> GetModules()
		{
			var modules = new List<IModuleRegister>
			{
				new Nasty.SystemModule.SystemModule(),
                new Nasty.FlowModule.FlowModule(),
                new Nasty.QuartzModule.QuartzModule()
            };

			return modules;
		}
	}
}
